import {Navigate} from 'react-router-dom'
import Login from "../views/Login"
import Register from "../views/Register"
import Main from "../views/Main"
import Boss from '../views/Boss'


const routes = [
  {
    path: '/login',
    element: <Login />
  },
  {
    path: '/register',
    element: <Register />
  },
  {
    path: '/',
    element: <Main />,
    children: [
      {
        path: 'boss',
        element: <Boss />
        
      }
    ]
  }
]


export default routes
